//
//  ArcBody.h
//  NinjaTurtle
//
//  Created by Nguyen Tri Chung on 1/27/15.
//
//

#ifndef __NinjaTurtle__ArcBody__
#define __NinjaTurtle__ArcBody__

#include <stdio.h>
#include "cocos2d.h"
#include "Body.h"

class ArcBody : public Body {
protected:
    CC_SYNTHESIZE(float, radius, Radius);
    CC_SYNTHESIZE(float, angle, Angle);
public:
    ArcBody(float radius, float angle);
    virtual ~ArcBody();
    virtual bool contains(Point point);
    bool containsInDistance(Point point, float distanceRate);
    virtual bool nearby(Point point);
};

#endif /* defined(__NinjaTurtle__ArcBody__) */
